package com.cx.dto;

/**
 *
 SELECT hotel_img.hotel_img,hotel.hotel_locate,hotel.hotel_score,hotel.hotel_content
 FROM hotel,hotel_img
 WHERE hotel.id = hotel_img.hotel_id

 */
public class HotelInfo {
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    private Integer id;
    private String hotelImg;
    private String hotelLocate;
    private String hotelScore;
    private String hotelContent;
    private String hotelName;
    private String cityName;

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getHotelEnglishName() {
        return hotelEnglishName;
    }

    public void setHotelEnglishName(String hotelEnglishName) {
        this.hotelEnglishName = hotelEnglishName;
    }

    private  String hotelEnglishName;
    public String getOther1() {
        return other1;
    }

    public void setOther1(String other1) {
        this.other1 = "http://localhost:8888/" + other1;
    }

    private String other1;//使用备用字段存储品牌logo图片
    public String getHotelName() {
        return hotelName;
    }

    public void setHotelName(String hotelName) {
        this.hotelName = hotelName;
    }

    public String getHotelImg() {
        return hotelImg;
    }

    public void setHotelImg(String hotelImg) {
        this.hotelImg =  "http://localhost:8888/" +hotelImg;
    }

    public String getHotelLocate() {
        return hotelLocate;
    }

    public void setHotelLocate(String hotelLocate) {
        this.hotelLocate = hotelLocate;
    }

    public String getHotelScore() {
        return hotelScore;
    }

    public void setHotelScore(String hotelScore) {
        this.hotelScore = hotelScore;
    }

    public String getHotelContent() {
        return hotelContent;
    }

    public void setHotelContent(String hotelContent) {
        this.hotelContent = hotelContent;
    }

}
